home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 February
/
EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso
/
earcd
/
util2
/
extractr.rea
< prev
next >
Wrap
Text File
|
1996-01-16
|
981b
|
27 lines
Short: Extract text file section to stdout V1.0
Author: nick.christie@oucs.ox.ac.uk (Nick Christie)
Uploader: nick.christie@oucs.ox.ac.uk (Nick Christie)
Version: 1.0
Type: util/cli
Requires: AmigaOS V2.04+
Distribution: Freeware
A small command line utility I wrote because I needed it.
Maybe it's of some use to you, too.
Usage: Extract FILE/A OFFSET/N LENGTH/N BYTES/S
Where: FILE
is the file to extract a section from.
OFFSET
is the 0-based line or byte offset to start at. If the
offset is past the end of the file, nothing is printed.
LENGTH
is the number of lines or bytes to print. If the length
extends beyond the end of the file, printing stops at EOF.
BYTES
is a switch that indicates the offset and length
are in bytes rather than lines.
$VER: Extract.readme 1.0 (3.12.95)